﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.WebPages;
using System.Web.Mvc;

namespace WebSiteJqueryUI.Controllers
{
    public class CachingFilterAttribute : ActionFilterAttribute
    {

        public override void OnActionExecuted(ActionExecutedContext filterContext)
        {
            filterContext.Canceled = true;
        
        }
        public override void OnActionExecuting(ActionExecutingContext filterContext)
        { }
        public override void OnResultExecuted(ResultExecutedContext filterContext)
        { }
        public override void OnResultExecuting(ResultExecutingContext filterContext)
        { }


    }
}